package com.baomibing.flow.execute;

import com.baomibing.flow.constant.NodeTypeEnum;
import com.baomibing.flow.express.Expression;
import lombok.Data;

/**
 * TaskExecution
 *
 * @author frog 2023/9/18 16:15
 * @version 1.0.0
 **/
@Data
public class TaskExecution extends Execution {

    //原始执行人
    private String originActor;
    //处理类型为自定义时对应的表达式
    private Expression actionExpression;

    @Override
    public NodeTypeEnum getNodeType() {
        return NodeTypeEnum.Task;
    }
}
